package com.ups.singlearner;

import com.ups.singlearner.util.NoteUtil.Note;

public class ComposedNote {
	private Note note;
	private int begin;
	private int duration;
	private int y;
	// TODO y is the position on screen, should be remove one day and use an util instead that a Note
	// and return y position

	
	public ComposedNote(Note note, int begin, int duration, int y) {
		this.note = note;
		this.begin  = begin;
		this.duration = duration;
		this.y = y;
	}

	public Note getNote() {
		return note;
	}

	public void setNote(Note note) {
		this.note = note;
	}

	public int getBegin() {
		return begin;
	}

	public void setBegin(int begin) {
		this.begin = begin;
	}

	public int getDuration() {
		return duration;
	}

	public void setDuration(int duration) {
		this.duration = duration;
	}
	
	public int getY() {
		return y;
	}
	
	public void setY(int y) {
		this.y = y;
	}
}